import axios from "../../axios";




// 分页查询
export const findPage = (data) => {
    return axios({
        url: '/doo/findPage',
        method: 'post',
        data
    })
}



// 分页明细查询
export const findDetailPage = (data) => {
    return axios({
        url: '/doo/findDetailPage',
        method: 'post',
        data
    })
}
// 查找用户的菜单权限标识集合
// 分页查询
export const saveReceiptOut = (data) => {
    return axios({
        url: '/doo/Save',
        method: 'post',
        data
    })
}

export const saveDoo = (data) => {
    return axios({
        url: '/doo/saveDoo',
        method: 'post',
        data
    })
}
// 查找用户的菜单权限标识集合
// 分页查询
export const getDetials = (data) => {
    return axios({
        url: '/doo/getDetials',
        method: 'post',
        data
    })
}
export const updateDetials = (data) => {
    return axios({
        url: '/doo/updateDetials',
        method: 'post',
        data
    })
}
export const saveDetials = (data) => {
    return axios({
        url: '/doo/saveDetials',
        method: 'post',
        data
    })
}

export const saveDetialByOrder = (data) => {
    return axios({
        url: '/doo/saveDetialByOrder',
        method: 'post',
        data
    })
}

export const deleteDetial = (data) => {
    return axios({
        url: '/doo/deleteDetial',
        method: 'post',
        data
    })
}

export const batchDelete = (data) => {
    return axios({
        url: '/doo/batchDelete',
        method: 'post',
        data
    })
}


export const saveDetialsByBatch = (data) => {
    return axios({
        url: '/doo/saveDetialsByBatch',
        method: 'post',
        data
    })
}



export const saveDetialByProduce = (data) => {
    return axios({
        url: '/doo/saveDetialByProduce',
        method: 'post',
        data
    })
}



export const checkoutGenerate = (data) => {
    return axios({
        url: '/doo/checkoutGenerate',
        method: 'post',
        data
    })
}

export const otheroutGenerate = (data) => {
    return axios({
        url: '/doo/otheroutGenerate',
        method: 'post',
        data
    })
}

export const batchoutGenerate = (data) => {
    return axios({
        url: '/doo/batchoutGenerate',
        method: 'post',
        data
    })
}


//预览
export const Preview = (data) => {
    return axios({
        url: '/doo/Preview',
        method: 'post',
        data
    })
}

export const getWhDoiDetList = (data) => {
    return axios({
        url: '/doo/GetWhDoiDetList',
        method: 'post',
        data
    })
}
//出库明细



//根据出库单明细主键查询出库单主表实体
export const GetReceiptOutList = (data) => {
    return axios({
        url: '/doo/GetReceiptOutList',
        method: 'post',
        data
    })
}

//根据出库单明细主键查询出库单主表实体
export const csds = (data) => {
    return axios({
        url: '/doo/csds',
        method: 'post',
        data
    })
}
export const csdsHis = (data) => {
    return axios({
        url: '/doo/csdsHis',
        method: 'post',
        data
    })
}


export const selectCsd = (data) => {
    return axios({
        url: '/doo/selectCsd',
        method: 'post',
        data
    })
}



export const finsh = (data) => {
    return axios({
        url: '/doo/finsh',
        method: 'post',
        data
    })
}